import request from '@/util/request'

// 记录查看联系方式
export function recordContact(params) {
  return request({
    url: 'recording/contact.json',
    method: 'POST',
    params,
    baseURL: process.env.VUE_APP_AJS_RECORD
  })
}

// 记录查看商品详情
export function recordGood(params) {
  return request({
    url: 'recording/good.json',
    method: 'POST',
    params,
    baseURL: process.env.VUE_APP_AJS_RECORD
  })
}

// 记录商品搜索
export function recordSearch(params) {
  return request({
    url: 'recording/search.json',
    method: 'POST',
    params,
    baseURL: process.env.VUE_APP_AJS_RECORD
  })
}
